package cn.star.jots.filmRating.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class FilmRating {
    @ApiModelProperty(value = "主键id")
    Long id;
    @ApiModelProperty(value = "电影id")
    Long filmId;
    @ApiModelProperty(value = "电影评分")
    Double filmRating;
    @ApiModelProperty(value = "电影评分人数")
    Integer people;
    @ApiModelProperty(value = "电影评分总分")
    Double rating;
    @ApiModelProperty(value = "创建时间")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    Date updateTime;
}
